package cn.tedu._05mvcboot04.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class Article {
    @ApiModelProperty(value = "文章编号", required = true)
    private Long id;
    @ApiModelProperty(value = "文章标题", required = true)
    private String title;
    @ApiModelProperty(value = "文章内容", required = true)
    private String content;
    @ApiModelProperty(value = "用户编号", required = true)
    private Long userId;
}
